-
Notifications
You must be signed in to change notification settings - Fork 32
♻️ Maintenance: Migrate more Pydantic models to Annotated types
#7965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ Maintenance: Migrate more Pydantic models to Annotated types
#7965
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7965 +/- ##
==========================================
+ Coverage 87.89% 89.52% +1.63%
==========================================
Files 1841 1655 -186
Lines 71044 64677 -6367
Branches 1227 780 -447
==========================================
- Hits 62442 57905 -4537
+ Misses 8248 6569 -1679
+ Partials 354 203 -151
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Annotated types
21ad278 to
f3fec65
Compare
matusdrobuliak66
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍 cool
|
@mergify queue |
🛑 The pull request has been merged manuallyThe pull request has been merged manually at 64695c3 |
bisgaard-itis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
Thanks
|



What do these changes do?
This PR continues the migration of legacy Pydantic model definitions to use
Annotatedtypes for better clarity and future compatibility.Another goal of this PR is to share some experiences and hints on using prompts.
Workflow
= Field(across files in thepackagesdirectory./pydantic-annotated-fields on all files within the #searchResults.Notes:
Related issue/s
How to test
in place
Dev-ops
None